<?php
/**
 * Copyright (c) 2019. Supefun<supefun@163.com> All rights reserved.
 */

namespace app\ximalaya\controller;

use QL\QueryList;
use think\App;
use think\Controller;
use think\Db;
use think\mongo\Connection as MongoConnection;

class Songs extends Controller
{
    const JSON_DATA = '[{"id":180,"url":"https://supersimple.com/song/sitting-on-the-potty/","category":"daily-routines","title":"Sitting On The Potty","thumb":"https://supersimple.com/wp-content/uploads/sitting-on-the-potty-800-800-300x300.jpg"},{"id":179,"url":"https://supersimple.com/song/where-is-baby/","category":"family games","title":"Where Is Baby?","thumb":"https://supersimple.com/wp-content/uploads/where-is-baby-800-800-300x300.jpg"},{"id":178,"url":"https://supersimple.com/song/the-more-we-get-together/","category":"","title":"The More We Get Together","thumb":"https://supersimple.com/wp-content/uploads/the-more-we-get-together-800-800-300x300.jpg"},{"id":177,"url":"https://supersimple.com/song/peekaboo-i-love-you/","category":"holidays-celebrations valentines","title":"Peekaboo, I Love You","thumb":"https://supersimple.com/wp-content/uploads/peek-a-boo-iloveyou-800-800-300x300.jpg"},{"id":176,"url":"https://supersimple.com/song/the-jellyfish/","category":"animals animals-sea-creatures parts-of-the-body","title":"The Jellyfish","thumb":"https://supersimple.com/wp-content/uploads/the-jellyfish-800-800-300x300.jpg"},{"id":175,"url":"https://supersimple.com/song/driving-in-my-car/","category":"action-verbs transportation","title":"Driving In My Car","thumb":"https://supersimple.com/wp-content/uploads/driving-in-my-car-800-800-300x300.jpg"},{"id":174,"url":"https://supersimple.com/song/with-my-heart/","category":"action-verbs parts-of-the-body","title":"With My Heart","thumb":"https://supersimple.com/wp-content/uploads/with-my-heart-800-800-300x300.jpg"},{"id":173,"url":"https://supersimple.com/song/head-shoulders-knees-and-toes/","category":"parts-of-the-body great-tpr-total-physical-response-songs songs-that-encourage-following-along songs-that-feature-built-in-games-activities","title":"Head Shoulders Knees And Toes","thumb":"https://supersimple.com/wp-content/uploads/hskt-feat-noodles-800-800-300x300.jpg"},{"id":172,"url":"https://supersimple.com/song/six-in-the-bed/","category":"counting","title":"Six In The Bed","thumb":"https://supersimple.com/wp-content/uploads/six-in-the-bed-800-800-300x300.jpg"},{"id":171,"url":"https://supersimple.com/song/wheels-on-the-bus-2019/","category":"transportation classic-nursery-rhymes fun-new-versions-of-traditional-kids-songs songs-that-encourage-pretend-play","title":"The Wheels On The Bus","thumb":"https://supersimple.com/wp-content/uploads/wheels-on-the-bus-feat-noodles-800-800-300x300.jpg"},{"id":170,"url":"https://supersimple.com/song/skidamarink-puppets/","category":"holidays-celebrations valentines silly-songs","title":"Skidamarink","thumb":"https://supersimple.com/wp-content/uploads/skidamarink-featsspuppets-800-800-300x300.jpg"},{"id":169,"url":"https://supersimple.com/song/if-youre-happy-and-you-know-it-ft-super-simple-puppets/","category":"action-verbs fun-new-versions-of-traditional-kids-songs songs-that-encourage-following-along","title":"If You’re Happy And You Know It","thumb":"https://supersimple.com/wp-content/uploads/if-youre-happy-and-you-know-it-ft-sspuppets-800-800-300x300.jpg"},{"id":168,"url":"https://supersimple.com/song/open-shut-them-featuring-noodle-and-pals/","category":"opposites great-fingerplay-songs songs-that-encourage-following-along","title":"Open Shut Them","thumb":"https://supersimple.com/wp-content/uploads/open-shut-them-featuring-noodle-pals-800-800-300x300.jpg"},{"id":167,"url":"https://supersimple.com/song/if-youre-happy-and-you-know-it/","category":"action-verbs fun-new-versions-of-traditional-kids-songs songs-that-encourage-following-along","title":"If You’re Happy And You Know It","thumb":"https://supersimple.com/wp-content/uploads/if-youre-happy-and-you-know-it-800-800-300x300.jpg"},{"id":166,"url":"https://supersimple.com/song/whats-this-whats-that/","category":"","title":"What’s This? What’s That?","thumb":"https://supersimple.com/wp-content/uploads/whats-this-whats-that-800-800-300x300.jpg"},{"id":165,"url":"https://supersimple.com/song/santa-shark/","category":"animals animals-sea-creatures holidays-celebrations christmas","title":"Santa Shark","thumb":"https://supersimple.com/wp-content/uploads/santa-shark-800-800-300x300.jpg"},{"id":164,"url":"https://supersimple.com/song/peekaboo-christmas/","category":"games holidays-celebrations christmas songs-that-encourage-following-along songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Peekaboo Christmas","thumb":"https://supersimple.com/wp-content/uploads/peek-a-boo-christmas-800-800-300x300.jpg"},{"id":163,"url":"https://supersimple.com/song/where-is-thumbkin/","category":"parts-of-the-body","title":"Where Is Thumbkin?","thumb":"https://supersimple.com/wp-content/uploads/where-is-thumbkin-800-800-300x300.jpg"},{"id":162,"url":"https://supersimple.com/song/pass-the-beanbag/","category":"classroom-management","title":"Pass The Beanbag","thumb":"https://supersimple.com/wp-content/uploads/pass-the-beanbag-noodle-friends-800-800-300x300.jpg"},{"id":161,"url":"https://supersimple.com/song/do-you-like-broccoli-ice-cream-puppets/","category":"food silly-songs songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Do You Like Broccoli Ice Cream? (Puppets)","thumb":"https://supersimple.com/wp-content/uploads/do-you-like-broccoli-iceream-puppets-800-800-300x300.jpg"},{"id":160,"url":"https://supersimple.com/song/the-ants-go-marching-2/","category":"counting food insects fun-new-versions-of-traditional-kids-songs silly-songs songs-that-feature-rhyming","title":"The Ants Go Marching #2","thumb":"https://supersimple.com/wp-content/uploads/the-ants-go-marching-2-800-800-300x300.jpg"},{"id":159,"url":"https://supersimple.com/song/peekaboo-halloween/","category":"games holidays-celebrations halloween songs-that-encourage-following-along songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Peekaboo Halloween","thumb":"https://supersimple.com/wp-content/uploads/peek-a-boo-halloween-800-800-300x300.jpg"},{"id":158,"url":"https://supersimple.com/song/bees-go-buzzing/","category":"counting insects","title":"The Bees Go Buzzing","thumb":"https://supersimple.com/wp-content/uploads/the-bees-go-buzzing-800-800-300x300.jpg"},{"id":157,"url":"https://supersimple.com/song/over-the-deep-blue-sea/","category":"opposites weather","title":"Over The Deep Blue Sea","thumb":"https://supersimple.com/wp-content/plugins/lazy-load/images/1x1.trans.gif"},{"id":156,"url":"https://supersimple.com/song/down-by-the-spooky-bay/","category":"action-verbs halloween silly-songs songs-that-feature-rhyming","title":"Down By The Spooky Bay","thumb":"https://supersimple.com/wp-content/uploads/down-by-the-spooky-bay-800-800-300x300.jpg"},{"id":155,"url":"https://supersimple.com/song/peekaboo-playground/","category":"games songs-that-encourage-following-along songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Peekaboo Playground","thumb":"https://supersimple.com/wp-content/uploads/peek-a-boo-playground-800-800-300x300.jpg"},{"id":154,"url":"https://supersimple.com/song/when-the-band-comes-marching-in/","category":"","title":"When The Band Comes Marching In","thumb":"https://supersimple.com/wp-content/uploads/when-the-band-comes-marching-in-800-800-300x300.jpg"},{"id":153,"url":"https://supersimple.com/song/here-is-the-beehive/","category":"counting","title":"Here Is The Beehive","thumb":"https://supersimple.com/wp-content/uploads/here-is-the-beehive-800-800-1-300x300.jpg"},{"id":152,"url":"https://supersimple.com/song/red-yellow-green-blue/","category":"colors","title":"Red Yellow Green Blue","thumb":"https://supersimple.com/wp-content/uploads/red-yellow-green-blue-800-800-300x300.jpg"},{"id":151,"url":"https://supersimple.com/song/red-light-green-light/","category":"action-verbs colors","title":"Red Light, Green Light","thumb":"https://supersimple.com/wp-content/uploads/red-light-green-light-800-800-300x300.jpg"},{"id":150,"url":"https://supersimple.com/song/ten-little-dinosaurs-2/","category":"animals counting fun-new-versions-of-traditional-kids-songs","title":"10 Little Dinosaurs #2","thumb":"https://supersimple.com/wp-content/uploads/10-little-dinosaurs-2-800-800-300x300.jpg"},{"id":149,"url":"https://supersimple.com/song/this-is-the-way-we-go-to-bed/","category":"bedtime-songs daily-routines songs-that-encourage-following-along songs-that-encourage-pretend-play","title":"This Is The Way We Go To Bed","thumb":"https://supersimple.com/wp-content/uploads/this-is-the-way-we-go-to-bed-800-800-300x300.jpg"},{"id":148,"url":"https://supersimple.com/song/whats-your-favorite-color/","category":"colors circletime-songs","title":"What’s Your Favorite Color?","thumb":"https://supersimple.com/wp-content/uploads/whats-your-favorite-color-800-800-300x300.jpg"},{"id":147,"url":"https://supersimple.com/song/who-took-the-cookie-farm-animals-version/","category":"animals animals-farm-animals games songs-that-feature-built-in-games-activities","title":"Who Took The Cookie? (Farm Animals Version)","thumb":"https://supersimple.com/wp-content/uploads/who-took-the-cookie-firm-800-800-300x300.jpg"},{"id":146,"url":"https://supersimple.com/song/here-we-go-looby-loo/","category":"action-verbs parts-of-the-body fun-new-versions-of-traditional-kids-songs songs-that-encourage-following-along songs-to-get-up-and-move-to","title":"Here We Go Looby Loo","thumb":"https://supersimple.com/wp-content/uploads/here-we-go-looby-loo-800-800-1-300x300.jpg"},{"id":145,"url":"https://supersimple.com/song/open-shut-them-2/","category":"opposites great-fingerplay-songs songs-that-encourage-following-along","title":"Open Shut Them #2","thumb":"https://supersimple.com/wp-content/uploads/open-shut-them-2-800-800-300x300.jpg"},{"id":144,"url":"https://supersimple.com/song/theres-a-hole-in-the-bottom-of-the-sea/","category":"animals animals-sea-creatures cumulative-songs silly-songs songs-that-feature-a-female-lead","title":"There’s A Hole In The Bottom Of The Sea","thumb":"https://supersimple.com/wp-content/uploads/theres-a-hole-in-the-bottom-of-the-sea-800-800-300x300.jpg"},{"id":143,"url":"https://supersimple.com/song/down-by-the-bay-3/","category":"action-verbs animals silly-songs songs-that-feature-rhyming","title":"Down By The Bay #3","thumb":"https://supersimple.com/wp-content/uploads/down-by-the-bay-3-800-800-300x300.jpg"},{"id":142,"url":"https://supersimple.com/song/old-macdonald-had-a-farm-2018/","category":"animals animals-farm-animals classic-nursery-rhymes cumulative-songs songs-that-teach-animal-sounds","title":"Old MacDonald Had A Farm (2018)","thumb":"https://supersimple.com/wp-content/uploads/old-macdonald-had-a-farm-800-800-300x300.jpg"},{"id":141,"url":"https://supersimple.com/song/hot-cross-buns/","category":"food holidays-celebrations easter classic-nursery-rhymes","title":"Hot Cross Buns","thumb":"https://supersimple.com/wp-content/uploads/hot-cross-buns-800-800-2-300x300.jpg"},{"id":140,"url":"https://supersimple.com/song/ten-little-bicycles/","category":"counting transportation fun-new-versions-of-traditional-kids-songs","title":"10 Little Bicycles","thumb":"https://supersimple.com/wp-content/uploads/10-little-bicycles-800-800-300x300.jpg"},{"id":139,"url":"https://supersimple.com/song/lets-take-the-subway/","category":"transportation songs-about-overcoming-fears songs-that-encourage-imaginative-movement-to-music songs-that-feature-a-female-lead","title":"Let’s Take The Subway","thumb":"https://supersimple.com/wp-content/uploads/lets-take-the-subway-800-800-300x300.jpg"},{"id":138,"url":"https://supersimple.com/song/are-you-hungry/","category":"daily-routines food songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Are You Hungry?","thumb":"https://supersimple.com/wp-content/uploads/are-you-hungry-800-800-300x300.jpg"},{"id":137,"url":"https://supersimple.com/song/this-is-the-way-we-get-dressed/","category":"clothing daily-routines songs-that-encourage-following-along songs-that-encourage-pretend-play","title":"This Is The Way We Get Dressed","thumb":"https://supersimple.com/wp-content/uploads/this-is-the-way-we-get-dressed-800-800-300x300.jpg"},{"id":136,"url":"https://supersimple.com/song/ten-little-buses/","category":"counting transportation fun-new-versions-of-traditional-kids-songs","title":"10 Little Buses","thumb":"https://supersimple.com/wp-content/uploads/10-little-buses-800-800-300x300.jpg"},{"id":135,"url":"https://supersimple.com/song/the-farmer-in-the-dell/","category":"animals animals-farm-animals occupations classic-nursery-rhymes fun-new-versions-of-traditional-kids-songs","title":"The Farmer In The Dell","thumb":"https://supersimple.com/wp-content/uploads/the-farmer-in-the-dell-800-800-300x300.jpg"},{"id":134,"url":"https://supersimple.com/song/follow-me/","category":"action-verbs songs-that-encourage-following-along songs-that-end-seated songs-that-feature-built-in-games-activities","title":"Follow Me","thumb":"https://supersimple.com/wp-content/uploads/follow-me-800-800-300x300.jpg"},{"id":133,"url":"https://supersimple.com/song/down-by-the-bay-2/","category":"action-verbs animals silly-songs songs-that-feature-rhyming","title":"Down By The Bay #2","thumb":"https://supersimple.com/wp-content/uploads/down-by-the-bay-2-800-800-300x300.jpg"},{"id":132,"url":"https://supersimple.com/song/ten-little-fishies/","category":"animals animals-sea-creatures counting songs-that-speed-up","title":"10 Little Fishies","thumb":"https://supersimple.com/wp-content/uploads/10-little-fishies-800-800-300x300.jpg"},{"id":131,"url":"https://supersimple.com/song/twelve-days-of-christmas/","category":"counting holidays-celebrations christmas cumulative-songs silly-songs","title":"12 Days of Christmas","thumb":"https://supersimple.com/wp-content/uploads/12-days-of-christmas-800-800-300x300.jpg"},{"id":130,"url":"https://supersimple.com/song/up-on-the-housetop/","category":"holidays-celebrations christmas fun-new-versions-of-traditional-kids-songs","title":"Up On The Housetop","thumb":"https://supersimple.com/wp-content/uploads/up-on-the-housetop-800-800-300x300.jpg"},{"id":129,"url":"https://supersimple.com/song/ten-little-tractors/","category":"counting transportation fun-new-versions-of-traditional-kids-songs","title":"10 Little Tractors","thumb":"https://supersimple.com/wp-content/uploads/10-little-tractors-800-800-1-300x300.jpg"},{"id":128,"url":"https://supersimple.com/song/wind-the-bobbin-up/","category":"action-verbs nursery-rhymes-from-around-the-world","title":"Wind The Bobbin Up","thumb":"https://supersimple.com/wp-content/uploads/wind-the-bobbin-up-800-800-300x300.jpg"},{"id":127,"url":"https://supersimple.com/song/pat-a-cake/","category":"alphabet-spelling food occupations classic-nursery-rhymes fun-new-versions-of-traditional-kids-songs great-fingerplay-songs songs-that-encourage-pretend-play","title":"Pat-A-Cake","thumb":"https://supersimple.com/wp-content/uploads/pat-a-cake-800-800-300x300.jpg"},{"id":126,"url":"https://supersimple.com/song/rock-scissors-paper-4/","category":"counting games left-right circletime-songs great-fingerplay-songs songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Rock Scissors Paper #4","thumb":"https://supersimple.com/wp-content/uploads/rock-scissors-paper-4-800-800-300x300.jpg"},{"id":125,"url":"https://supersimple.com/song/take-me-out-to-the-ball-game/","category":"","title":"Take Me Out To The Ball Game","thumb":"https://supersimple.com/wp-content/uploads/take-me-out-to-the-ball-game-800-800-300x300.jpg"},{"id":124,"url":"https://supersimple.com/song/baby-shark-halloween/","category":"animals family holidays-celebrations halloween fun-new-versions-of-traditional-kids-songs silly-songs songs-that-speed-up","title":"Baby Shark Halloween","thumb":"https://supersimple.com/wp-content/uploads/baby-shark-halloween-800-800-300x300.jpg"},{"id":123,"url":"https://supersimple.com/song/five-little-monsters-jumping-on-the-bed/","category":"action-verbs counting holidays-celebrations halloween silly-songs songs-that-encourage-pretend-play","title":"Five Little Monsters Jumping On The Bed","thumb":"https://supersimple.com/wp-content/uploads/five-little-monsters-jumping-on-the-bed-800-800-300x300.jpg"},{"id":122,"url":"https://supersimple.com/song/i-cant-remember-the-words-to-this-song/","category":"silly-songs","title":"I Can’t Remember The Words To This Song","thumb":"https://supersimple.com/wp-content/uploads/i-cant-remember-the-words-to-this-song-800-800-300x300.jpg"},{"id":121,"url":"https://supersimple.com/song/peanut-butter-jelly/","category":"food silly-songs songs-that-encourage-pretend-play","title":"Peanut Butter & Jelly","thumb":"https://supersimple.com/wp-content/uploads/peanut-butter-n-jelly-800-800-300x300.jpg"},{"id":120,"url":"https://supersimple.com/song/alphabet-is-so-much-fun/","category":"alphabet-spelling fun-new-versions-of-traditional-kids-songs songs-that-feature-a-female-lead","title":"The Alphabet Is So Much Fun","thumb":"https://supersimple.com/wp-content/uploads/the-alphabet-is-so-much-fun-800-800-300x300.jpg"},{"id":119,"url":"https://supersimple.com/song/what-do-you-like-to-do/","category":"action-verbs songs-that-include-characters-with-disabilities songs-with-ing-verbs","title":"What Do You Like To Do?","thumb":"https://supersimple.com/wp-content/uploads/what-do-you-like-to-do-800-800-300x300.jpg"},{"id":118,"url":"https://supersimple.com/song/alphabet-song/","category":"alphabet-spelling circletime-songs lullabies-songs-for-helping-babies-sleep","title":"The Alphabet Song","thumb":"https://supersimple.com/wp-content/uploads/the-alphabet-song-single-version-800-800-300x300.jpg"},{"id":117,"url":"https://supersimple.com/song/humpty-dumpty/","category":"classic-nursery-rhymes silly-songs","title":"Humpty Dumpty","thumb":"https://supersimple.com/wp-content/uploads/humpty-dumpty-800-800-300x300.jpg"},{"id":116,"url":"https://supersimple.com/song/ten-little-sailboats/","category":"counting transportation fun-new-versions-of-traditional-kids-songs","title":"10 Little Sailboats","thumb":"https://supersimple.com/wp-content/uploads/10-little-sailboats-800-800-300x300.jpg"},{"id":115,"url":"https://supersimple.com/song/jack-jill/","category":"fun-new-versions-of-traditional-kids-songs","title":"Jack & Jill","thumb":"https://supersimple.com/wp-content/uploads/jack-jill-800-800-300x300.jpg"},{"id":114,"url":"https://supersimple.com/song/a-sailor-went-to-sea/","category":"animals animals-sea-creatures cumulative-songs fun-new-versions-of-traditional-kids-songs","title":"A Sailor Went To Sea","thumb":"https://supersimple.com/wp-content/uploads/a-sailor-went-to-sea-800-800-300x300.jpg"},{"id":113,"url":"https://supersimple.com/song/down-by-the-bay/","category":"action-verbs animals silly-songs songs-that-feature-rhyming","title":"Down By The Bay","thumb":"https://supersimple.com/wp-content/uploads/down-by-the-bay-800-800-300x300.jpg"},{"id":112,"url":"https://supersimple.com/song/i-like-you/","category":"action-verbs daily-routines silly-songs","title":"I Like You","thumb":"https://supersimple.com/wp-content/uploads/i-like-you-800-800-300x300.jpg"},{"id":111,"url":"https://supersimple.com/song/rock-scissors-paper-3/","category":"games left-right circletime-songs great-fingerplay-songs songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Rock Scissors Paper #3","thumb":"https://supersimple.com/wp-content/uploads/rock-scissors-paper-3-800-800-300x300.jpg"},{"id":110,"url":"https://supersimple.com/song/ten-little-airplanes/","category":"counting transportation fun-new-versions-of-traditional-kids-songs","title":"10 Little Airplanes","thumb":"https://supersimple.com/wp-content/uploads/10-little-airplanes-800-800-300x300.jpg"},{"id":109,"url":"https://supersimple.com/song/ants-go-marching/","category":"counting insects fun-new-versions-of-traditional-kids-songs silly-songs songs-that-feature-rhyming","title":"The Ants Go Marching","thumb":"https://supersimple.com/wp-content/uploads/the-ants-go-marching-800-800-300x300.jpg"},{"id":108,"url":"https://supersimple.com/song/muffin-man/","category":"food occupations classic-nursery-rhymes fun-new-versions-of-traditional-kids-songs","title":"The Muffin Man","thumb":"https://supersimple.com/wp-content/uploads/the-muffin-man-800-800-300x300.jpg"},{"id":107,"url":"https://supersimple.com/song/brush-your-teeth/","category":"bedtime-songs daily-routines songs-that-encourage-pretend-play","title":"Brush Your Teeth","thumb":"https://supersimple.com/wp-content/uploads/brush-your-teeth-800-800-300x300.jpg"},{"id":106,"url":"https://supersimple.com/song/alice-the-camel/","category":"animals counting fun-new-versions-of-traditional-kids-songs","title":"Alice The Camel","thumb":"https://supersimple.com/wp-content/uploads/alice-the-camel-800-800-300x300.jpg"},{"id":105,"url":"https://supersimple.com/song/peekaboo/","category":"games songs-that-encourage-following-along songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Peekaboo","thumb":"https://supersimple.com/wp-content/uploads/peek-a-boo-800-800-300x300.jpg"},{"id":104,"url":"https://supersimple.com/song/little-robin-redbreast/","category":"animals animals-pets classic-nursery-rhymes nursery-rhymes-from-around-the-world songs-that-feature-rhyming","title":"Little Robin Redbreast","thumb":"https://supersimple.com/wp-content/uploads/little-robin-redbreast-800-800-300x300.jpg"},{"id":103,"url":"https://supersimple.com/song/ten-little-dinosaurs/","category":"animals counting fun-new-versions-of-traditional-kids-songs","title":"10 Little Dinosaurs","thumb":"https://supersimple.com/wp-content/uploads/10-little-dinosaurs-800-800-300x300.jpg"},{"id":102,"url":"https://supersimple.com/song/apples-and-bananas/","category":"food phonics silly-songs","title":"Apples & Bananas","thumb":"https://supersimple.com/wp-content/uploads/apples-and-bananas-800-800-300x300.jpg"},{"id":101,"url":"https://supersimple.com/song/mr-golden-sun/","category":"weather classic-nursery-rhymes","title":"Mr. Golden Sun","thumb":"https://supersimple.com/wp-content/uploads/mr-golden-sun-800-800-300x300.jpg"},{"id":100,"url":"https://supersimple.com/song/baby-shark/","category":"animals animals-sea-creatures family fun-new-versions-of-traditional-kids-songs great-fingerplay-songs silly-songs songs-that-speed-up","title":"Baby Shark","thumb":"https://supersimple.com/wp-content/uploads/baby-shark-800-800-300x300.jpg"},{"id":99,"url":"https://supersimple.com/song/ice-cream-song/","category":"counting food circletime-songs cumulative-songs","title":"The Ice Cream Song","thumb":"https://supersimple.com/wp-content/uploads/the-ice-cream-song-800-800-300x300.jpg"},{"id":98,"url":"https://supersimple.com/song/five-little-speckled-frogs/","category":"animals counting great-fingerplay-songs","title":"Five Little Speckled Frogs","thumb":"https://supersimple.com/wp-content/uploads/five-little-speckled-frogs-800-800-300x300.jpg"},{"id":97,"url":"https://supersimple.com/song/how-many-fingers/","category":"counting parts-of-the-body great-fingerplay-songs songs-that-encourage-following-along","title":"How Many Fingers?","thumb":"https://supersimple.com/wp-content/uploads/how-many-fingers-800-800-2-300x300.jpg"},{"id":96,"url":"https://supersimple.com/song/skeleton-dance/","category":"holidays-celebrations halloween parts-of-the-body fun-new-versions-of-traditional-kids-songs songs-to-get-up-and-move-to","title":"The Skeleton Dance","thumb":"https://supersimple.com/wp-content/uploads/the-skeleton-dance-800-800-300x300.jpg"},{"id":95,"url":"https://supersimple.com/song/five-little-ducks/","category":"animals animals-farm-animals counting classic-nursery-rhymes great-fingerplay-songs songs-that-teach-animal-sounds","title":"Five Little Ducks","thumb":"https://supersimple.com/wp-content/uploads/five-little-ducks-800-800-300x300.jpg"},{"id":94,"url":"https://supersimple.com/song/alphabet-chant/","category":"alphabet-spelling songs-that-speed-up","title":"The Alphabet Chant","thumb":"https://supersimple.com/wp-content/uploads/the-alphabet-chant-800-800-300x300.jpg"},{"id":93,"url":"https://supersimple.com/song/hide-and-seek/","category":"counting songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Hide And Seek","thumb":"https://supersimple.com/wp-content/uploads/hide-and-seek-800-800-2-300x300.jpg"},{"id":92,"url":"https://supersimple.com/song/this-is-the-way/","category":"action-verbs daily-routines songs-that-encourage-following-along songs-that-encourage-pretend-play","title":"This Is The Way","thumb":"https://supersimple.com/wp-content/uploads/this-is-the-way-800-800-300x300.jpg"},{"id":91,"url":"https://supersimple.com/song/mystery-box-3/","category":"games circletime-songs songs-that-feature-built-in-games-activities","title":"Mystery Box #3","thumb":"https://supersimple.com/wp-content/uploads/mystery-box-3-800-800-300x300.jpg"},{"id":90,"url":"https://supersimple.com/song/days-of-the-week/","category":"calendar-time chants","title":"Days Of The Week","thumb":"https://supersimple.com/wp-content/uploads/days-of-the-week-800-800-300x300.jpg"},{"id":89,"url":"https://supersimple.com/song/do-you-like-lasagna-milkshakes/","category":"food silly-songs songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Do You Like Lasagna Milkshakes?","thumb":"https://supersimple.com/wp-content/uploads/do-you-like-lasagna-milkshakes-800-800-300x300.jpg"},{"id":88,"url":"https://supersimple.com/song/walking-walking/","category":"action-verbs songs-that-encourage-following-along songs-that-speed-up songs-to-get-up-and-move-to","title":"Walking Walking","thumb":"https://supersimple.com/wp-content/uploads/walking-walking-800-800-300x300.jpg"},{"id":87,"url":"https://supersimple.com/song/seven-steps/","category":"counting songs-that-encourage-following-along","title":"Seven Steps","thumb":"https://supersimple.com/wp-content/uploads/seven-steps-noodle-800-800-300x300.jpg"},{"id":86,"url":"https://supersimple.com/song/mystery-box-2/","category":"games circletime-songs songs-that-feature-built-in-games-activities","title":"Mystery Box #2","thumb":"https://supersimple.com/wp-content/uploads/mystery-box-2-800-800-300x300.jpg"},{"id":85,"url":"https://supersimple.com/song/do-you-like-pickle-pudding/","category":"food silly-songs songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Do You Like Pickle Pudding?","thumb":"https://supersimple.com/wp-content/uploads/do-you-like-pickle-pudding-800-800-300x300.jpg"},{"id":84,"url":"https://supersimple.com/song/mystery-box-1/","category":"games circletime-songs songs-that-feature-built-in-games-activities","title":"Mystery Box #1","thumb":"https://supersimple.com/wp-content/uploads/mystery-box-1-800-800-300x300.jpg"},{"id":83,"url":"https://supersimple.com/song/see-you-later-alligator/","category":"animals classroom-management hello-goodbye great-songs-for-classroom-management","title":"See You Later, Alligator","thumb":"https://supersimple.com/wp-content/uploads/see-you-later-alligator-800-800-300x300.jpg"},{"id":82,"url":"https://supersimple.com/song/goodbye-snowman/","category":"classroom-management hello-goodbye holidays-celebrations christmas great-songs-for-classroom-management","title":"Goodbye, Snowman","thumb":"https://supersimple.com/wp-content/uploads/goodbye-snowman-800-800-300x300.jpg"},{"id":81,"url":"https://supersimple.com/song/santa-where-are-you/","category":"holidays-celebrations christmas prepositions songs-that-encourage-pretend-play","title":"Santa, Where Are You?","thumb":"https://supersimple.com/wp-content/uploads/santa-where-are-you-800-800-300x300.jpg"},{"id":80,"url":"https://supersimple.com/song/jingle-jingle-little-bell/","category":"holidays-celebrations christmas opposites songs-that-encourage-following-along songs-that-encourage-listening songs-that-feature-a-female-lead songs-that-teach-animal-sounds","title":"Jingle Jingle Little Bell","thumb":"https://supersimple.com/wp-content/uploads/jingle-jingle-little-bell-800-800-300x300.jpg"},{"id":79,"url":"https://supersimple.com/song/ten-little-elves/","category":"action-verbs counting holidays-celebrations christmas songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play songs-with-ing-verbs","title":"10 Little Elves","thumb":"https://supersimple.com/wp-content/uploads/ten-little-elves-800-800-300x300.jpg"},{"id":78,"url":"https://supersimple.com/song/bye-bye-goodbye/","category":"classroom-management hello-goodbye great-songs-for-classroom-management","title":"Bye Bye Goodbye","thumb":"https://supersimple.com/wp-content/uploads/bye-bye-goodbye-800-800-300x300.jpg"},{"id":77,"url":"https://supersimple.com/song/uh-huh/","category":"opposites silly-songs","title":"Uh-huh!","thumb":"https://supersimple.com/wp-content/uploads/uh-huh-800-800-300x300.jpg"},{"id":76,"url":"https://supersimple.com/song/clean-up/","category":"classroom-management daily-routines great-songs-for-classroom-management songs-that-feature-built-in-games-activities","title":"Clean Up!","thumb":"https://supersimple.com/wp-content/uploads/clean-up-800-800-300x300.jpg"},{"id":75,"url":"https://supersimple.com/song/goodbye-my-friends/","category":"hello-goodbye holidays-celebrations halloween great-songs-for-classroom-management songs-with-call-repeat-melodies","title":"Goodbye, My Friends","thumb":"https://supersimple.com/wp-content/uploads/goodbye-my-friends-800-800-300x300.jpg"},{"id":74,"url":"https://supersimple.com/song/knock-knock-trick-or-treat-part-2/","category":"holidays-celebrations halloween songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play","title":"Knock Knock, Trick Or Treat? (Part 2)","thumb":"https://supersimple.com/wp-content/uploads/kktot-2-800-800-300x300.jpg"},{"id":73,"url":"https://supersimple.com/song/five-little-pumpkins/","category":"counting emotions holidays-celebrations halloween silly-songs songs-that-encourage-imaginative-movement-to-music","title":"Five Little Pumpkins","thumb":"https://supersimple.com/wp-content/uploads/five-little-pumpkins-800-800-300x300.jpg"},{"id":72,"url":"https://supersimple.com/song/hello-my-friends/","category":"hello-goodbye holidays-celebrations halloween great-songs-for-classroom-management songs-with-call-repeat-melodies","title":"Hello, My Friends","thumb":"https://supersimple.com/wp-content/uploads/hello-my-friends-800-800-1-300x300.jpg"},{"id":71,"url":"https://supersimple.com/song/give-me-something-good-to-eat/","category":"food holidays-celebrations halloween","title":"Give Me Something Good To Eat","thumb":"https://supersimple.com/wp-content/uploads/give-me-something-good-to-eat-800-800-300x300.jpg"},{"id":70,"url":"https://supersimple.com/song/make-a-circle/","category":"classroom-management great-songs-for-classroom-management songs-that-end-seated","title":"Make A Circle","thumb":"https://supersimple.com/wp-content/uploads/make-a-circle-800-800-300x300.jpg"},{"id":69,"url":"https://supersimple.com/song/we-all-fall-down/","category":"action-verbs songs-that-encourage-following-along songs-that-end-seated songs-to-get-up-and-move-to","title":"We All Fall Down","thumb":"https://supersimple.com/wp-content/uploads/we-all-fall-down-800-800-300x300.jpg"},{"id":68,"url":"https://supersimple.com/song/pinocchio/","category":"parts-of-the-body cumulative-songs songs-that-encourage-following-along songs-that-end-seated songs-to-get-up-and-move-to","title":"The Pinocchio","thumb":"https://supersimple.com/wp-content/uploads/the-pinocchio-800-800-300x300.jpg"},{"id":67,"url":"https://supersimple.com/song/say-cheese/","category":"classroom-management emotions great-songs-for-classroom-management songs-that-encourage-pretend-play","title":"Say Cheese!","thumb":"https://supersimple.com/wp-content/uploads/lets-take-a-picture-800-800-300x300.jpg"},{"id":66,"url":"https://supersimple.com/song/hello-hello/","category":"classroom-management hello-goodbye great-songs-for-classroom-management songs-to-get-up-and-move-to","title":"Hello Hello!","thumb":"https://supersimple.com/wp-content/uploads/hello-hello-800-800-1-300x300.jpg"},{"id":65,"url":"https://supersimple.com/song/who-took-the-cookie/","category":"games songs-that-feature-built-in-games-activities","title":"Who Took the Cookie?","thumb":"https://supersimple.com/wp-content/uploads/who-took-the-cookie-800-800-300x300.jpg"},{"id":64,"url":"https://supersimple.com/song/bath-song/","category":"daily-routines parts-of-the-body songs-that-encourage-following-along songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"The Bath Song","thumb":"https://supersimple.com/wp-content/uploads/the-bath-song-800-800-300x300.jpg"},{"id":63,"url":"https://supersimple.com/song/eeny-meeny-miny-moe/","category":"animals-jungle-animals classroom-management chants choosing-rhymes great-songs-for-classroom-management silly-songs songs-that-feature-built-in-games-activities","title":"Eeny Meeny Miny Moe","thumb":"https://supersimple.com/wp-content/uploads/eeney-meeney-miney-moe-800-800-300x300.jpg"},{"id":62,"url":"https://supersimple.com/song/head-shoulders-knees-toes-speeding-up/","category":"parts-of-the-body great-tpr-total-physical-response-songs songs-that-encourage-following-along songs-that-feature-built-in-games-activities songs-that-speed-up","title":"Head Shoulders Knees & Toes (Speeding Up)","thumb":"https://supersimple.com/wp-content/uploads/hskt-speeding-up-800-800-300x300.jpg"},{"id":61,"url":"https://supersimple.com/song/rock-scissors-paper-2/","category":"games left-right circletime-songs great-fingerplay-songs songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Rock Scissors Paper #2","thumb":"https://supersimple.com/wp-content/uploads/rock-scissors-paper-2-800-800-300x300.jpg"},{"id":60,"url":"https://supersimple.com/song/shape-song-2/","category":"shapes great-fingerplay-songs songs-that-feature-built-in-games-activities","title":"The Shape Song #2","thumb":"https://supersimple.com/wp-content/uploads/shape-song-2-800-800-300x300.jpg"},{"id":59,"url":"https://supersimple.com/song/after-a-while-crocodile/","category":"animals classroom-management hello-goodbye great-songs-for-classroom-management songs-that-feature-a-female-lead","title":"After A While, Crocodile","thumb":"https://supersimple.com/wp-content/uploads/after-a-while-crocodile-800-800-300x300.jpg"},{"id":58,"url":"https://supersimple.com/song/do-you-like-spaghetti-yogurt/","category":"food silly-songs songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Do You Like Spaghetti Yogurt?","thumb":"https://supersimple.com/wp-content/uploads/do-you-like-spaghetti-yorurt-800-800-300x300.jpg"},{"id":57,"url":"https://supersimple.com/song/shape-song-1/","category":"shapes great-fingerplay-songs songs-that-feature-built-in-games-activities","title":"The Shape Song #1","thumb":"https://supersimple.com/wp-content/uploads/shape-song-1-800-800-300x300.jpg"},{"id":56,"url":"https://supersimple.com/song/rock-scissors-paper-1/","category":"games left-right circletime-songs great-fingerplay-songs songs-that-encourage-pretend-play songs-that-feature-built-in-games-activities","title":"Rock Scissors Paper #1","thumb":"https://supersimple.com/wp-content/uploads/rock-scissors-paper-1-800-800-300x300.jpg"},{"id":55,"url":"https://supersimple.com/song/rain-rain-go-away/","category":"family weather circletime-songs fun-new-versions-of-traditional-kids-songs great-fingerplay-songs","title":"Rain Rain Go Away","thumb":"https://supersimple.com/wp-content/uploads/rain-rain-800-800-300x300.jpg"},{"id":54,"url":"https://supersimple.com/song/itsy-bitsy-spider/","category":"insects classic-nursery-rhymes great-fingerplay-songs","title":"The Itsy Bitsy Spider","thumb":"https://supersimple.com/wp-content/uploads/e-w-spider-800-800-300x300.jpg"},{"id":53,"url":"https://supersimple.com/song/hello/","category":"classroom-management emotions hello-goodbye great-songs-for-classroom-management songs-that-encourage-following-along","title":"Hello!","thumb":"https://supersimple.com/wp-content/uploads/hello-2-800-800-1-300x300.jpg"},{"id":52,"url":"https://supersimple.com/song/what-do-you-hear/","category":"animals songs-that-encourage-listening songs-that-teach-animal-sounds","title":"What Do You Hear?","thumb":"https://supersimple.com/wp-content/uploads/what-do-you-hear-800-800-300x300.jpg"},{"id":51,"url":"https://supersimple.com/song/wag-your-tail/","category":"action-verbs animals songs-that-encourage-imaginative-movement-to-music songs-to-get-up-and-move-to","title":"Wag Your Tail","thumb":"https://supersimple.com/wp-content/uploads/wag-your-tail-800-800-300x300.jpg"},{"id":50,"url":"https://supersimple.com/song/yes-i-can/","category":"action-verbs animals songs-that-encourage-pretend-play","title":"Yes, I Can!","thumb":"https://supersimple.com/wp-content/uploads/yes-i-can-800-800-300x300.jpg"},{"id":49,"url":"https://supersimple.com/song/my-teddy-bear/","category":"bedtime-songs parts-of-the-body songs-that-encourage-pretend-play songs-that-feature-a-female-lead","title":"My Teddy Bear","thumb":"https://supersimple.com/wp-content/uploads/my-teddy-bear-800-800-300x300.jpg"},{"id":48,"url":"https://supersimple.com/song/skidamarink/","category":"bedtime-songs emotions holidays-celebrations valentines silly-songs","title":"Skidamarink","thumb":"https://supersimple.com/wp-content/uploads/skidamarink-800-800-300x300.jpg"},{"id":47,"url":"https://supersimple.com/song/im-a-little-snowman/","category":"clothing holidays-celebrations christmas parts-of-the-body songs-that-encourage-pretend-play","title":"I’m A Little Snowman","thumb":"https://supersimple.com/wp-content/uploads/ima-little-snowman-800-800-300x300.jpg"},{"id":46,"url":"https://supersimple.com/song/count-down-and-move/","category":"counting chants songs-that-encourage-imaginative-movement-to-music","title":"Count Down & Move","thumb":"https://supersimple.com/wp-content/uploads/count-down-and-move-800-800-300x300.jpg"},{"id":45,"url":"https://supersimple.com/song/santas-on-his-way/","category":"holidays-celebrations christmas songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play","title":"Santa’s On His Way","thumb":"https://supersimple.com/wp-content/uploads/santas-on-his-way-800-800-300x300.jpg"},{"id":44,"url":"https://supersimple.com/song/what-do-you-want-for-christmas/","category":"holidays-celebrations christmas songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play","title":"What Do You Want For Christmas?","thumb":"https://supersimple.com/wp-content/uploads/what-do-you-want-for-christmas-800-800-300x300.jpg"},{"id":43,"url":"https://supersimple.com/song/decorate-the-christmas-tree/","category":"holidays-celebrations christmas fun-new-versions-of-traditional-kids-songs","title":"Decorate The Christmas Tree","thumb":"https://supersimple.com/wp-content/uploads/decorate-the-christmas-tree-new-800-800-300x300.jpg"},{"id":42,"url":"https://supersimple.com/song/we-wish-you-a-merry-christmas/","category":"action-verbs holidays-celebrations christmas fun-new-versions-of-traditional-kids-songs","title":"We Wish You A Merry Christmas","thumb":"https://supersimple.com/wp-content/uploads/we-wish-you-a-merry-christmas-800-800-300x300.jpg"},{"id":41,"url":"https://supersimple.com/song/hello-reindeer/","category":"classroom-management hello-goodbye holidays-celebrations christmas great-songs-for-classroom-management","title":"Hello, Reindeer","thumb":"https://supersimple.com/wp-content/uploads/hello-reindeer-800-800-1-300x300.jpg"},{"id":40,"url":"https://supersimple.com/song/put-on-your-shoes/","category":"clothing daily-routines silly-songs songs-that-encourage-following-along songs-that-encourage-pretend-play","title":"Put On Your Shoes","thumb":"https://supersimple.com/wp-content/uploads/put-on-your-shoes-800-800-300x300.jpg"},{"id":39,"url":"https://supersimple.com/song/go-away-spooky-goblin/","category":"emotions holidays-celebrations halloween songs-about-overcoming-fears songs-that-encourage-pretend-play","title":"Go Away, Spooky Goblin!","thumb":"https://supersimple.com/wp-content/uploads/go-away-spooky-goblin-new-800-800-300x300.jpg"},{"id":38,"url":"https://supersimple.com/song/one-for-you-one-for-me/","category":"counting food holidays-celebrations halloween songs-that-encourage-pretend-play","title":"One For You, One For Me","thumb":"https://supersimple.com/wp-content/uploads/one-for-you-one-for-me-800-800-300x300.jpg"},{"id":37,"url":"https://supersimple.com/song/who-took-the-candy/","category":"food games holidays-celebrations halloween silly-songs songs-that-feature-built-in-games-activities","title":"Who Took The Candy?","thumb":"https://supersimple.com/wp-content/uploads/who-took-the-candy-800-800-300x300.jpg"},{"id":36,"url":"https://supersimple.com/song/this-is-the-way-we-carve-a-pumpkin/","category":"holidays-celebrations halloween parts-of-the-body songs-that-encourage-pretend-play","title":"This Is The Way We Carve A Pumpkin","thumb":"https://supersimple.com/wp-content/uploads/this-is-the-way-you-carve-a-pumpkin-800-800-300x300.jpg"},{"id":35,"url":"https://supersimple.com/song/knock-knock-trick-or-treat/","category":"holidays-celebrations halloween songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play","title":"Knock Knock, Trick Or Treat?","thumb":"https://supersimple.com/wp-content/uploads/kktot-1-800-800-300x300.jpg"},{"id":34,"url":"https://supersimple.com/song/five-creepy-spiders/","category":"action-verbs counting halloween insects songs-that-encourage-following-along songs-that-encourage-imaginative-movement-to-music","title":"Five Creepy Spiders","thumb":"https://supersimple.com/wp-content/uploads/five-creepy-spiders-new-800-800-300x300.jpg"},{"id":33,"url":"https://supersimple.com/song/can-you-make-a-happy-face/","category":"emotions holidays-celebrations halloween circletime-songs songs-that-encourage-following-along","title":"Can You Make A Happy Face?","thumb":"https://supersimple.com/wp-content/uploads/can-you-make-a-happy-face-new-800-800-300x300.jpg"},{"id":32,"url":"https://supersimple.com/song/go-away/","category":"emotions holidays-celebrations halloween songs-about-overcoming-fears songs-that-encourage-pretend-play","title":"Go Away!","thumb":"https://supersimple.com/wp-content/uploads/go-away-new-800-800-300x300.jpg"},{"id":31,"url":"https://supersimple.com/song/i-have-a-pet/","category":"animals animals-pets songs-that-teach-animal-sounds","title":"I Have A Pet","thumb":"https://supersimple.com/wp-content/uploads/i-have-a-pet-800-800-300x300.jpg"},{"id":30,"url":"https://supersimple.com/song/mary-had-a-kangaroo/","category":"animals fun-new-versions-of-traditional-kids-songs songs-that-feature-a-female-lead","title":"Mary Had A Kangaroo","thumb":"https://supersimple.com/wp-content/uploads/mary-had-a-kangaroo-800-800-300x300.jpg"},{"id":29,"url":"https://supersimple.com/song/wheels-on-the-bus/","category":"opposites transportation classic-nursery-rhymes fun-new-versions-of-traditional-kids-songs songs-that-encourage-pretend-play","title":"The Wheels On The Bus","thumb":"https://supersimple.com/wp-content/uploads/the-wheels-on-the-bus-800-800-300x300.jpg"},{"id":28,"url":"https://supersimple.com/song/lets-go-to-the-zoo/","category":"animals songs-that-encourage-following-along songs-that-encourage-imaginative-movement-to-music songs-that-encourage-pretend-play songs-to-get-up-and-move-to","title":"Let’s Go To The Zoo","thumb":"https://supersimple.com/wp-content/uploads/lets-go-to-the-zoo-800-800-300x300.jpg"},{"id":27,"url":"https://supersimple.com/song/i-see-something-pink/","category":"colors games circletime-songs songs-that-feature-built-in-games-activities","title":"I See Something Pink","thumb":"https://supersimple.com/wp-content/uploads/i-see-something-pink-800-800-300x300.jpg"},{"id":26,"url":"https://supersimple.com/song/i-see-something-blue/","category":"colors games circletime-songs songs-that-feature-built-in-games-activities","title":"I See Something Blue","thumb":"https://supersimple.com/wp-content/uploads/i-see-something-blue-800-800-300x300.jpg"},{"id":25,"url":"https://supersimple.com/song/one-potato-two-potatoes/","category":"classroom-management counting food chants silly-songs","title":"One Potato, Two Potatoes","thumb":"https://supersimple.com/wp-content/uploads/one-potato-800-800-300x300.jpg"},{"id":24,"url":"https://supersimple.com/song/counting-bananas/","category":"counting food songs-that-encourage-following-along songs-that-end-seated","title":"Counting Bananas","thumb":"https://supersimple.com/wp-content/uploads/counting-bananas-800-800-300x300.jpg"},{"id":23,"url":"https://supersimple.com/song/one-little-finger/","category":"parts-of-the-body cumulative-songs great-fingerplay-songs great-tpr-total-physical-response-songs songs-that-encourage-following-along songs-that-encourage-listening","title":"One Little Finger","thumb":"https://supersimple.com/wp-content/uploads/one-little-finger-800-800-300x300.jpg"},{"id":22,"url":"https://supersimple.com/song/hows-the-weather/","category":"weather circletime-songs great-songs-for-classroom-management","title":"How’s The Weather?","thumb":"https://supersimple.com/wp-content/uploads/hows-the-weather-800-800-300x300.jpg"},{"id":21,"url":"https://supersimple.com/song/if-youre-happy/","category":"emotions fun-new-versions-of-traditional-kids-songs songs-that-encourage-following-along","title":"If You’re Happy","thumb":"https://supersimple.com/wp-content/uploads/if-youre-happy-800-800-300x300.jpg"},{"id":20,"url":"https://supersimple.com/song/count-and-move/","category":"counting chants songs-that-encourage-imaginative-movement-to-music","title":"Count & Move","thumb":"https://supersimple.com/wp-content/uploads/count-and-move-800-800-300x300.jpg"},{"id":19,"url":"https://supersimple.com/song/do-you-like-broccoli-ice-cream/","category":"food silly-songs songs-that-encourage-pretend-play songs-with-call-repeat-melodies","title":"Do You Like Broccoli Ice Cream?","thumb":"https://supersimple.com/wp-content/uploads/do-you-like-broccoli-ice-cream-800-800-300x300.jpg"},{"id":18,"url":"https://supersimple.com/song/animals-on-the-farm/","category":"animals animals-farm-animals silly-songs songs-that-speed-up songs-that-teach-animal-sounds","title":"The Animals On The Farm","thumb":"https://supersimple.com/wp-content/uploads/the-animals-on-the-farm-800-800-300x300.jpg"},{"id":17,"url":"https://supersimple.com/song/walking-in-the-jungle/","category":"animals animals-jungle-animals emotions songs-about-overcoming-fears songs-that-encourage-listening songs-that-encourage-pretend-play songs-that-teach-animal-sounds","title":"Walking In The Jungle","thumb":"https://supersimple.com/wp-content/uploads/walking-in-the-jungle-800-800-300x300.jpg"},{"id":16,"url":"https://supersimple.com/song/old-macdonald/","category":"animals animals-farm-animals fun-new-versions-of-traditional-kids-songs songs-that-encourage-listening songs-that-teach-animal-sounds","title":"Old MacDonald","thumb":"https://supersimple.com/wp-content/uploads/old-mcdonald-800-800-300x300.jpg"},{"id":15,"url":"https://supersimple.com/song/sweet-dreams/","category":"bedtime-songs daily-routines lullabies-songs-for-helping-babies-sleep","title":"Sweet Dreams","thumb":"https://supersimple.com/wp-content/uploads/sweet-dreams-800-800-300x300.jpg"},{"id":14,"url":"https://supersimple.com/song/head-shoulders-knees-toes-smart-it/","category":"parts-of-the-body great-tpr-total-physical-response-songs songs-that-encourage-following-along songs-that-feature-built-in-games-activities songs-that-include-characters-with-disabilities","title":"Head Shoulders Knees & Toes (Learn It)","thumb":"https://supersimple.com/wp-content/uploads/hskt-smart-it-800-800-300x300.jpg"},{"id":13,"url":"https://supersimple.com/song/head-shoulders-knees-toes-sing-it/","category":"parts-of-the-body great-tpr-total-physical-response-songs songs-that-encourage-following-along songs-that-feature-built-in-games-activities songs-that-include-characters-with-disabilities","title":"Head Shoulders Knees & Toes (Sing It)","thumb":"https://supersimple.com/wp-content/uploads/hskt-sing-it-800-800-300x300.jpg"},{"id":12,"url":"https://supersimple.com/song/jingle-bells-smart-sing/","category":"holidays-celebrations christmas songs-that-encourage-listening songs-with-call-repeat-melodies","title":"Jingle Bells (Learn & Sing)","thumb":"https://supersimple.com/wp-content/uploads/jingle-bells-800-800-300x300.jpg"},{"id":11,"url":"https://supersimple.com/song/open-shut-them/","category":"opposites great-fingerplay-songs songs-that-encourage-following-along","title":"Open Shut Them","thumb":"https://supersimple.com/wp-content/uploads/open-shut-them-800-800-300x300.jpg"},{"id":10,"url":"https://supersimple.com/song/good-morning-mr-rooster/","category":"animals animals-farm-animals classroom-management hello-goodbye great-songs-for-classroom-management","title":"Good Morning, Mr. Rooster","thumb":"https://supersimple.com/wp-content/uploads/good-morning-mr-rooster-800-800-300x300.jpg"},{"id":9,"url":"https://supersimple.com/song/little-snowflake/","category":"bedtime-songs parts-of-the-body lullabies-songs-for-helping-babies-sleep","title":"Little Snowflake","thumb":"https://supersimple.com/wp-content/uploads/little-snowflake-800-800-300x300.jpg"},{"id":8,"url":"https://supersimple.com/song/ten-in-the-bed/","category":"counting great-fingerplay-songs","title":"Ten In The Bed","thumb":"https://supersimple.com/wp-content/uploads/ten-in-the-bed-800-800-300x300.jpg"},{"id":7,"url":"https://supersimple.com/song/months-chant/","category":"calendar-time chants songs-with-call-repeat-melodies","title":"The Months Chant","thumb":"https://supersimple.com/wp-content/uploads/the-months-chant-800-800-300x300.jpg"},{"id":6,"url":"https://supersimple.com/song/s-a-n-t-a/","category":"alphabet-spelling holidays-celebrations christmas fun-new-versions-of-traditional-kids-songs songs-that-feature-built-in-games-activities","title":"S-A-N-T-A","thumb":"https://supersimple.com/wp-content/uploads/santa-800-800-1-300x300.jpg"},{"id":5,"url":"https://supersimple.com/song/bingo/","category":"alphabet-spelling animals animals-farm-animals animals-pets fun-new-versions-of-traditional-kids-songs silly-songs songs-that-feature-built-in-games-activities","title":"BINGO","thumb":"https://supersimple.com/wp-content/uploads/bingo-800-800-300x300.jpg"},{"id":4,"url":"https://supersimple.com/song/row-row-row-your-boat/","category":"bedtime-songs transportation classic-nursery-rhymes lullabies-songs-for-helping-babies-sleep songs-for-singing-in-a-round","title":"Row Row Row Your Boat","thumb":"https://supersimple.com/wp-content/uploads/row-row-row-your-boat-800-800-300x300.jpg"},{"id":3,"url":"https://supersimple.com/song/hickory-dickory-crash/","category":"animals calendar-time counting fun-new-versions-of-traditional-kids-songs silly-songs","title":"Hickory Dickory…Crash!","thumb":"https://supersimple.com/wp-content/uploads/hickory-dickory-dock-800-800-1-300x300.jpg"},{"id":2,"url":"https://supersimple.com/song/twinkle-twinkle-little-star/","category":"bedtime-songs classic-nursery-rhymes lullabies-songs-for-helping-babies-sleep","title":"Twinkle Twinkle Little Star","thumb":"https://supersimple.com/wp-content/uploads/twinkle-twinkle-800-800-300x300.jpg"},{"id":1,"url":"https://supersimple.com/song/five-little-monkeys/","category":"action-verbs animals animals-jungle-animals counting silly-songs songs-that-encourage-pretend-play","title":"Five Little Monkeys","thumb":"https://supersimple.com/wp-content/uploads/five-little-monkeys-800-800-300x300.jpg"}]';

    protected $jsonData;

    public function __construct(App $app = null)
    {
        parent::__construct($app);

        $this->jsonData = json_decode(self::JSON_DATA);
        foreach($this->jsonData as $k=>$v){
            $data[$v->id] = $v;
        }
        $this->jsonData = $data;
    }



    public function index($id)
    {
        $id = (int) $id;
        $mongo = Db::connect([
            'type'           => '\think\mongo\Connection',
            'query'			 => '\think\mongo\Query',
            'hostname'       => '127.0.0.1',
            'database'       => 'huiben',
            'username'       => '',
            'password'       => '',
            'hostport'       => '',
            'pk_convert_id'  => true
        ]);

        $data = $mongo->table('SuperSimpleSong')->find($id);
        if($data){
            $data = $this->getSongsContent($id);
            $mongo->table('SuperSimpleSong')->update($data);
        }else{
            $data = $this->getSongsContent($id);
            $mongo->table('SuperSimpleSong')->insert($data);
        }


        if($id > 180){
            exit('最后一页');
            $this->success($data['title'].'抓取成功');
        }else{
            $this->success('"'.$id.' '.$data['title'].'" 抓取成功', url('index?id='.($id+1)));
        }
    }

    public function buildCmd()
    {
        $mongo = Db::connect([
            'type'           => '\think\mongo\Connection',
            'query'			 => '\think\mongo\Query',
            'hostname'       => '127.0.0.1',
            'database'       => 'huiben',
            'username'       => '',
            'password'       => '',
            'hostport'       => '',
            'pk_convert_id'  => true
        ]);
        $data = $mongo->table('SuperSimpleSong')->field('id,name,youtube')->select();

        foreach($data as $item) {
            printf("\n".'\\bin\\youtube-dl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" %s -o "%03d-%s" --write-sub --sub-lang en --convert-subs srt', $item['youtube'], $item['_id'], $item['name']);
        }

    }

    public function rename()
    {
        echo '<h1>批量改名</h1>';

        $list = glob('D:\\BaiduYunDownload\\SSS\\*.en.srt');
        foreach($list as $item) {
            echo $item;
            echo "\n";
            rename($item, str_replace('.en.srt', '.srt', $item));
        }
    }

    /**
     * @param $id
     * @return array
     */
    private function getSongsContent($id)
    {
        $url = $this->jsonData[$id]->url;
        $data = $this->getHtmlContent($url);
        $data = array_merge((array)$this->jsonData[$id], $data[0]);

        $data['category'] = explode(' ', $data['category']);
        return $data;
    }

    private function getHtmlContent($url)
    {
        $data = QueryList::get($url)
            ->rules([
                'name' => ['h1.single-title', 'text'],
                'lyric' => ['.lyricHeight', 'text'],
                'youtube' => ['div.videoWrapper>iframe', 'src']
            ])
            ->queryData(function ($item){
                list($url, $query) = explode('?', $item['youtube']);
                $item['youtube'] = str_replace('/embed/', '/watch?v=', $url);
                return $item;
            });
        return $data;
    }
}
